package com.sanfeng.smbms.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * 
 * @author Nelson
 * @email Nelson@gmail.com
 * @date 2022-07-03 17:23:57
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderEntity   {
	/**
	 * id
	 */
	private Integer orderId;

	/**
	 * 系统订单id
	 */
	private String orderUUId;

	/**
	 * 总价
	 */
	private BigDecimal totalPrice;

	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date creationtTime;

	/**
	 * 更新时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateTime;
}
